<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
	
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>秭归县委党校智慧校园管理系统</title>
<link rel="stylesheet" href="static/layui/css/layui.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_949625_3t06xc90k9c.css" type="text/css">
<style>
html, body {
	height: 100%;
	width: 100%; 
}

iframe {
	display: block; /* iframes are inline by default */
	background: #000;
	border: none; /* Reset default border */
	height: 100vh; /* Viewport-relative units */
	width: 100vw;
}

.selected {
	/* background-color: #00801c61; */
	background-color: #f2f2f2;
}

.layui-bg-red {
    background-color: #ce2424 !important;
}
.layui-body{
	position : inherit;
}
.layui-layout-admin .layui-footer{
	background-color :#fff;
}
</style>

</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header1 layui-header" style="height: 60px;">
			<div class="layui-logo" style="width: 250px">
				<img alt="" src="static/images/logo.png">
			</div>
			<ul class="layui-nav layui-nav2 layui-layout-right">
				<li class="layui-nav-item"><a href="javascript:;"> <img
						src="download?uuid=<sec:authentication property="principal.fileuuid"/>"
						class="layui-nav-img" id="mainimg"> <span><b
							sec:authentication="principal.name"></b></span> <span><sec:authorize
								access="!hasRole('ROLE_DIY')">
								<sec:authentication property="principal.name" />
							</sec:authorize></span>
				</a> <sec:authorize
						access="!hasRole('ROLE_STUDENT')">
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" onclick="pages('student/message')">基本资料</a>
							</dd>
						</dl>
					</sec:authorize> </li>
				<li class="layui-nav-item"><a href="logout">退出</a></li>
			</ul>
		</div>


		<div class="layui-body" style="border-top: 1px solid red; width:100%; background: #f7f7f7;">
			<!-- 内容主体区域 -->
			<div id="content">
				<div class="layui-card">
				  	<div class="layui-card-header"></div>
				  	<div class="layui-card-body">
				    	
				    	<div>
				    		<center><img src="static/images/timg3.jpg" style="margin-top: 60px;"/></center>
				    	</div>
				    	<c:if test="${student!=null }">
				    		<center><p  style="margin-bottom: 60px;">管理员已拒绝你的申请<br/>拒绝原因：${student.yuanying }</p></center>
				    	</c:if>
				    	<c:if test="${student==null }">
					    	<center><p  style="margin-bottom: 60px;">您已注册成功，正在等待管理员审核。审核成功后可在重新登陆进行查看个人信息,查看班级信息等功能</p></center>
				    	
				    	</c:if>
	
				</div>

			</div>
		</div>


		<div class="layui-footer" >
			<!-- 底部固定区域 -->
			<!--  © layui.com - 底部固定区域 -->
		</div>
	</div>	<script src="static/js/jquery-1.12.4.min.js"></script>
	<script src="static/layui/layui.js"></script>
	<script type="text/javascript">
		layui.use('element', function(){
		  var element = layui.element;
		});
		function pages(url){
			$("#content").load(url);
		}
		$(function(){
			$("#content").load("home");
		});
	</script>
</html>